package com.company.practice;

import java.util.concurrent.locks.LockSupport;

/**
 * -Xms10m
 * -Xmx10m
 * -XX:+PrintGCDetails
 * -XX:+PrintFlagsFinal
 * -XX:MetaspaceSize=512M
 * -XX:SurvivorRatio=8
 * -XX:NewRatio=2
 * -XX:MaxTenuringThreshold=12
 * -XX:+UseSerialGC
 */
public class Hello{


    public static void main(String[] args){

        System.out.println("hello world");
        //LockSupport.park();

        // 演示Out of Memory error
        //byte[] bytes = new byte[100 * 1024 * 1024];





    }
}